package com.mac.hosp_pre.admin.model.resp;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 数据字典
 *
 * @author mac
 */
@Data
@EqualsAndHashCode
public class DictExcelDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    private Long id;

    @ExcelIgnore
    private Long parentId;


    @ExcelProperty(value = "名称",index = 0)
    private String name;

    @ExcelProperty(value = "值",index = 1)
    private String val;

    @ExcelProperty(value = "编码",index = 2)
    private String dictCode;

    @ExcelProperty(value = "父级编码",index = 3)
    private String parentCode;

}